import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'

// 第三方ui组件样式的引入
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';

// ui库的引入
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import requests from './request/request'   // axios的引入
Vue.prototype.rq = requests.requests  // axios的全局挂载

Vue.config.productionTip = false

// ui组件的注册
Vue.use(Antd);
Vue.use(ElementUI);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
